const str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
export default (row, col) => {
    const rowName = row + 1;
    let left = col + 1;
    let colName = '';
    do {
        const index = parseInt('' + (left % 26), 10);
        colName = str.charAt(index - 1) + colName;
        left = parseInt('' + (left / 26), 10);
    } while (left > 0);
    return colName + rowName;
}